package com.goods.service;

import com.goods.common.model.business.InStock;
import com.goods.common.model.business.Supplier;
import com.goods.common.vo.business.InStockItemVO;
import com.goods.common.vo.business.InStockVO;
import com.goods.common.vo.business.SupplierVO;

import java.util.Date;
import java.util.List;

public interface InStockService {
    List<InStock> findInStockList(Integer status);

    List<InStockItemVO> detail(Long id, Integer pageNum);

    InStock selectInStock(Long id);

    SupplierVO selectSupplierVO(Long supplierId);

    List<InStock> findInStockList(Integer status, Integer type, String inNum, String startTime, String endTime);

    Supplier findSupplier(Long supplierId);

    int remove(Long id);

    int back(Long id);

    int delete(Long id);

    int addIntoStock(InStockVO inStockVO);

    int publish(Long id);
}
